package TouristManagement;

/**
 * Interface definition : Site
 * 
 * @author OpenORB Compiler
 */
public class SitePOATie extends SitePOA
{

    //
    // Private reference to implementation object
    //
    private SiteOperations _tie;

    //
    // Private reference to POA
    //
    private org.omg.PortableServer.POA _poa;

    /**
     * Constructor
     */
    public SitePOATie(SiteOperations tieObject)
    {
        _tie = tieObject;
    }

    /**
     * Constructor
     */
    public SitePOATie(SiteOperations tieObject, org.omg.PortableServer.POA poa)
    {
        _tie = tieObject;
        _poa = poa;
    }

    /**
     * Get the delegate
     */
    public SiteOperations _delegate()
    {
        return _tie;
    }

    /**
     * Set the delegate
     */
    public void _delegate(SiteOperations delegate_)
    {
        _tie = delegate_;
    }

    /**
     * _default_POA method
     */
    public org.omg.PortableServer.POA _default_POA()
    {
        if (_poa != null)
            return _poa;
        else
            return super._default_POA();
    }

    /**
     * Read accessor for idSite attribute
     */
    public short idSite()
    {
        return _tie.idSite();
    }

    /**
     * Operation checkIn
     */
    public short checkIn(short touristCardNumber)
        throws TouristManagement.CheckInNotValid
    {
        return _tie.checkIn( touristCardNumber);
    }

    /**
     * Operation checkOut
     */
    public TouristManagement.VisitManagement checkOut(short touristCardNumber)
    {
        return _tie.checkOut( touristCardNumber);
    }

    /**
     * Operation consultLocalStat
     */
    public TouristManagement.LocalStat consultLocalStat()
    {
        return _tie.consultLocalStat();
    }

    /**
     * Operation getAdviceAverage
     */
    public TouristManagement.Advice getAdviceAverage()
    {
        return _tie.getAdviceAverage();
    }

    /**
     * Operation verifyVisit
     */
    public boolean verifyVisit(short touristCardNumber)
    {
        return _tie.verifyVisit( touristCardNumber);
    }

    /**
     * Operation getIdSite
     */
    public short[] getIdSite()
    {
        return _tie.getIdSite();
    }

    /**
     * Operation getHoraireOuverture
     */
    public TouristManagement.Hours getHoraireOuverture()
    {
        return _tie.getHoraireOuverture();
    }

    /**
     * Operation getHoraireFermeture
     */
    public TouristManagement.Hours getHoraireFermeture()
    {
        return _tie.getHoraireFermeture();
    }

    /**
     * Operation getNbVisiteurActuel
     */
    public short getNbVisiteurActuel()
    {
        return _tie.getNbVisiteurActuel();
    }

    /**
     * Operation getNbVisiteurMaximal
     */
    public short getNbVisiteurMaximal()
    {
        return _tie.getNbVisiteurMaximal();
    }

    /**
     * Operation getdurationAverage
     */
    public short getdurationAverage()
    {
        return _tie.getdurationAverage();
    }

    /**
     * Operation getdurationVisitMax
     */
    public short getdurationVisitMax()
    {
        return _tie.getdurationVisitMax();
    }

    /**
     * Operation getdurationVisitMin
     */
    public short getdurationVisitMin()
    {
        return _tie.getdurationVisitMin();
    }

    /**
     * Operation getNomSite
     */
    public String getNomSite()
    {
        return _tie.getNomSite();
    }

    /**
     * Operation getCoordsGPS
     */
    public TouristManagement.CoordsGPS getCoordsGPS()
    {
        return _tie.getCoordsGPS();
    }

    /**
     * Operation getAffluenceQuotidienne
     */
    public short getAffluenceQuotidienne()
    {
        return _tie.getAffluenceQuotidienne();
    }

}
